home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / file-tra / fsp-2.7 / fsp-2 / fsp / clients / flscmd.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-23  |  940 b   |  34 lines

  1.     /*********************************************************************\
  2.     *  Copyright (c) 1991 by Wen-King Su (wen-king@vlsi.cs.caltech.edu)   *
  3.     *                                                                     *
  4.     *  You may copy or modify this file in any manner you wish, provided  *
  5.     *  that this notice is always included, and that you hold the author  *
  6.     *  harmless for any loss or damage resulting from the installation or *
  7.     *  use of this software.                                              *
  8.     \*********************************************************************/
  9.  
  10. #include "tweak.h"
  11. #include "client_def.h"
  12. #include "c_extern.h"
  13. #include "bsd_extern.h"
  14.  
  15. int ls_bad PROTO1(int, n)
  16. {
  17.   client_done();
  18.   exit(n);
  19. }
  20.  
  21. int main PROTO3(int, argc, char **, argv, char **, envp)
  22. {
  23.   unsigned long pos;
  24.   RDIRENT **dp;
  25.   
  26.   env_client();
  27.   
  28.   fls_main(argc,argv,envp);
  29.   
  30.   client_done();
  31.   
  32.   exit(0);
  33. }
  34.